package com.it.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(value = ("meypet-8061"))
public interface MyPetService {

    @RequestMapping("/myPet/findPetAll")
    String findPetAll();

    @RequestMapping("/myPet/findPetOne/{id}")
    String findPetOne(@PathVariable("id") Integer id);
}
